package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 社保派单公司记录表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【社保派单员工反馈】的参数")
@Data
public class SocDispatchEmpFeedBackDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "公司派单记录id")
    private String socDispatchCompanyId;

    @ApiModelProperty(notes = "员工派单记录_员工记录id")
    private List<String> socDispatchEmpIdList;

    @ApiModelProperty(notes = "员工派单记录状态,完成还是结束,true:已完成,false:异常", required = true)
    @NotNull(message = "请传递员工派单记录状态")
    private Boolean finshOrError;

    @ApiModelProperty(notes = "反馈信息")
    private String remake;

}

